ECHO OFF
REM  if you have the rtl sources from delphi 4 or delphi 5 fpc is almost fully delphi compatible
REM  otherwise download ppdelphi.exe from http://kolmck.net or patch windows.pas from your delphi version (system.xxxx references)
REM  C:\Borland\Delphi5\Source\Rtl\Win
REM  Change fpc.cfg to point to kol and the win32 library files.
fpc -dRELEASE -dNOT_USE_RICHEDIT  -dUNICODE_CTRLS  %1

